cellClick
Type
message
Summary
Sent when the mouse button is released at the end of a cell click.
Syntax
cellClick <pColumnNumber>,<pRowNumber>,<pCellRect>
Description
The cellClick message is sent to the widget when the mouse button is released at the end of a click on the same cell.
Parameters
Name | Type | Description |
---|---|---|
pColumnNumber | The number of the column to which the clicked cell belongs. | |
pRowNumber | The number of the row to which the clicked cell belongs. | |
pCellRect | The rectangle of the cell that was clicked on. |
Examples
on cellClick pColumnNumber, pRowNumber, pCellRect
local tHilitedText
if pColumnNumber is 1 then
set the item del to tab
set the rect of button "Option Menu" to pCellRect
put the pgHilitedText of me into tHilitedText
set the label of button "Option Menu" to item 1 of tHilitedText
end if
end cellClick